package com.guli.gulimall.gulimallware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableTransactionManagement
@MapperScan("com.guli.gulimall.gulimallware.dao")
public class GulimallWareApplication {

    public static void main(String[] args) {

        SpringApplication springApplication = new SpringApplication();
        springApplication.setAddCommandLineProperties(true);
        springApplication.run(GulimallWareApplication.class, args);
    }

}
